package br.com.devschool.util;

import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;

/**
 * @author ATILLA
 *
 */
public class BaseBean {

	protected void addMessage(String title, String msg){
		FacesContext context = FacesContext.getCurrentInstance();
		context.addMessage(null, new FacesMessage(title, msg));
	}
}
